package org.brisling.supply.domain;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.TableGenerator;

import org.brisling.base.domain.impl.BaseMonitorDomain;
import org.brisling.base.domain.inf.BaseDomainInf;
import org.brisling.common.ConstSysParam;

/**
 * 
 * <p>Title: BaseSupplyInfo</p>
 * <p>Description: 基本业务信息监控实体类</p>
 * <p>Company: tongking </p>
 * @author jackson wang
 * @since  1.0
 * @version 1.0
 * @date 2016年6月3日 上午11:02:27
 */

@Entity
@Table(name=ConstSysParam.MODULE_SUPPLY_COUNTINFO)
public class BaseSupplyInfo extends BaseMonitorDomain implements BaseDomainInf{

	
	@Id
	@Column
	@GeneratedValue(strategy=GenerationType.TABLE,generator="baseSupplyInfoGenerator")
	@TableGenerator(name="baseSupplyInfoGenerator",
					table="sysman_generation_key",
					pkColumnValue=ConstSysParam.MODULE_SUPPLY_COUNTINFO,
					pkColumnName="primary_key",
					valueColumnName="key_value",
					allocationSize=1)
	private Long id;

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}
	
	/**
	 * 供应商总数量
	 */
	private Long supply_num;
	
	/**
	 * 申请审核供应商数量
	 */
	private Long apply_supply_audit_num;
	
	/**
	 * 通过审核供应商数量
	 */
	private Double pass_supply_audit_num;
	
	/**
	 * 基本信息不完备供应商数量
	 */
	private Double lack_supply_baseinfo_num;	
	
	
	/**
	 * 资质、档案不完备供应商数量
	 */
	private Double lack_supply_archive_num;	
	
	/**
	 * 不良供应商数量
	 */
	private Double supply_badinfo_num;

	public Long getSupply_num() {
		return supply_num;
	}

	public void setSupply_num(Long supply_num) {
		this.supply_num = supply_num;
	}

	public Long getApply_supply_audit_num() {
		return apply_supply_audit_num;
	}

	public void setApply_supply_audit_num(Long apply_supply_audit_num) {
		this.apply_supply_audit_num = apply_supply_audit_num;
	}

	public Double getPass_supply_audit_num() {
		return pass_supply_audit_num;
	}

	public void setPass_supply_audit_num(Double pass_supply_audit_num) {
		this.pass_supply_audit_num = pass_supply_audit_num;
	}

	public Double getLack_supply_baseinfo_num() {
		return lack_supply_baseinfo_num;
	}

	public void setLack_supply_baseinfo_num(Double lack_supply_baseinfo_num) {
		this.lack_supply_baseinfo_num = lack_supply_baseinfo_num;
	}

	public Double getLack_supply_archive_num() {
		return lack_supply_archive_num;
	}

	public void setLack_supply_archive_num(Double lack_supply_archive_num) {
		this.lack_supply_archive_num = lack_supply_archive_num;
	}

	public Double getSupply_badinfo_num() {
		return supply_badinfo_num;
	}

	public void setSupply_badinfo_num(Double supply_badinfo_num) {
		this.supply_badinfo_num = supply_badinfo_num;
	}
	
	
	
	
}
